<div class="row m-n">
    <div class="crumbs-bar">
        <div yb-crumbs></div>
    </div>
    <div tabset type="tab">
        <div tab heading="方案价格查询">
            <div class="row wrapper-y-sm">
                <div class="operate-bar col-xs-4 font-0"></div>
                <div class="search-bar wrapper-none col-xs-8">
                    <div class="btn-group m-l-xs pull-right">
                        <button type="button" class="btn btn-default base-color" ng-click="PriceStock.search()" translate translate-attr-title="刷新">
                            <i class="yb-icon ico-refresh"></i>
                        </button>
                    </div>
                    <button class="btn-advance pull-right m-l-xs" ng-click="PriceStock.switchToolbar('AdvanceSearch')" translate-attr-title="高级搜索" translate="高级搜索more"></button>
                    <div class="input-group pull-right clearfix">
                        <input type="text" class="form-control txt-search" translate translate-attr-placeholder="零件编号"
                               ng-model="PriceStock.condition.materialsNo">
                        <span class="input-group-addon cursor-pointer" ng-click="PriceStock.search(1)" translate>搜索</span>
                    </div>
                </div>
            </div>
            <div yb-advance-search show-toolbar="PriceStock.toolbarConfig.showAdvanceSearch" search-data="PriceStock.search(1)" reset-data="PriceStock.reset()">
                <div class="advance-search m-t-sm">
                    <div class="form-group clearfix">
                        <label class="control-label"><span translate>零件中文名</span>：</label>
                        <input type="text" class="form-control" translate translate-attr-placeholder="零件中文名" ng-model="PriceStock.condition.materialsDesc">
                    </div>
                    <div class="form-group clearfix">
                        <label class="control-label"><span translate>零件编号</span>：</label>
                        <textarea ng-model="PriceStock.condition.zhanwei" class="form-control" translate translate-attr-placeholder="逗号分隔或者换行分隔" ng-blur="handleMultiInput($event)"></textarea>
                    </div>
                </div>
            </div>
            <div class="main-area">
                <div yb-table-fixed class="table-fixed-wrap">
                    <div class="th-scroll-x">
                        <table class="table-fixed border-none" width="{{PriceStock.tableConfig.scrollWidth}}">
                            <thead>
                            <tr>
                                <th width="40" class="text-center th-check border-l-none">
                                    <div yb-check-box yb-checked="PriceStock.markInfo.allCheckedBill"
                                        yb-click="selectAll(PriceStock.dataList, 'Bill')"></div>
                                </th>                                   
                                <th ng-repeat="itemCol in PriceStock.tableConfig.tableCol track by $index" width="{{itemCol.width}}"
                                    ng-show="!!itemCol.isShow && !itemCol.isFixed">
                                    <div yb-thead-operate ng-model="itemCol" target-width="PriceStock.tableConfig.scrollWidth"></div>
                                </th>
                            </tr>
                            </thead>
                        </table>
                    </div>
                    <div class="td-scroll" ng-show="PriceStock.dataList.length > 0">
                        <table class="table-fixed border-none" width="{{PriceStock.tableConfig.scrollWidth}}">
                            <tbody>
                            <tr ng-repeat="item in PriceStock.dataList track by $index" ng-class="{'row-selected': $index === PriceStock.markInfo.curRow}"
                                ng-click="PriceStock.selectRow($index)">
                                <td width="40" class="text-center border-l-none">
                                    <div yb-check-box yb-checked="item.isChecked"
                                        yb-click="selectSingle(item, PriceStock.dataList, 'Bill')"></div>
                                </td>                                  
                                <td class="spill-dots" ng-repeat="itemCol in PriceStock.tableConfig.tableCol track by $index" width="{{itemCol.width}}"
                                    ng-show="!!itemCol.isShow && !itemCol.isFixed"
                                    title="{{item[itemCol.dataField]}}">
                                    <span>{{item[itemCol.dataField]}}</span>
                                </td>
                            </tr>
                            </tbody>
                        </table>
                    </div>
                    <div class="no-data w-full text-center p-t" ng-show="PriceStock.dataList.length === 0" translate>暂时没有数据</div>
                </div>
            </div>
            <div class="bottom-area page-bar wrapper-y-sm clearfix">
                <div yb-page-info ng-model="PriceStock.pageInfo" yb-refresh="PriceStock.search()"></div>
            </div>
        </div>
    </div>
</div>
